home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 18 / CU Amiga Magazine's Super CD-ROM 18 (1997)(EMAP Images)(GB)[!][issue 1998-01].iso / CUCD / Programming / AmigaE / Src / Gfx / ColourScreen.e < prev    next >
Text File  |  1992-09-02  |  287b  |  15 lines

  1. /* _Very_ simple customscreen-demo */
  2.  
  3. PROC main()
  4.   DEF screen,sx,sy
  5.   IF screen:=OpenS(321,257,5,0,'My Screen')
  6.     REPEAT
  7.       FOR sx:=0 TO 320
  8.         FOR sy:=0 TO 256 DO Plot(sx,sy,sx*sy+1)
  9.         EXIT Mouse()=1
  10.       ENDFOR
  11.     UNTIL Mouse()=1
  12.     CloseS(screen)
  13.   ENDIF
  14. ENDPROC
  15.